const express = require('express');
const mysql = require('mysql');
const tools = require('../../lib/tools.js');

/**
 * custom管理路由
 */
module.exports = function() {
    let router = express.Router();

    // 定义查询数据库池 
    let db = mysql.createPool({
        host:'localhost',
        user:'root',
        password:'admin',
        database:'blogapp'
    });
    
}